package com.modules.persistence;

import org.springframework.data.jpa.domain.Specifications;

public class SearchSpecFilter {
	private String type = "and";//默认值

    private Specifications spes;
    
    public SearchSpecFilter(Specifications spes) {
        this.spes = spes;
    }
    
    public SearchSpecFilter(String type, Specifications spes) {
        this.type = type;
        this.spes = spes;
    }

    public Specifications getSpes() {
        return spes;
    }

    public String getType() {
        return type;
    }

    public void setSpes(Specifications spes) {
        this.spes = spes;
    }

    public void setType(String type) {
        this.type = type;
    }


}
